package com.wutong.resonance.model.exception;

/**
 * 音频文件异常类
 * @author wutong
 */
public class AudioFileException extends RuntimeException {
    public AudioFileException(String message) {
        super(message);
    }
    public AudioFileException(String message, Throwable cause) {
        super(message, cause);
    }
    public AudioFileException(Throwable cause) {
        super(cause);
    }
    public AudioFileException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
    public AudioFileException() {
        super();
    }

    public static class UnsupportedAudioFileException extends AudioFileException {
        public UnsupportedAudioFileException(String message) {
            super(message);
        }
        public UnsupportedAudioFileException(String message, Throwable cause) {
            super(message, cause);
        }
        public UnsupportedAudioFileException(Throwable cause) {
            super(cause);
        }
        public UnsupportedAudioFileException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
            super(message, cause, enableSuppression, writableStackTrace);
        }
        public UnsupportedAudioFileException() {
            super();
        }
    }

    public static class AudioFileLoadException extends AudioFileException {
        public AudioFileLoadException(String message) {
            super(message);
        }
        public AudioFileLoadException(String message, Throwable cause) {
            super(message, cause);
        }
        public AudioFileLoadException(Throwable cause) {
            super(cause);
        }
        public AudioFileLoadException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
            super(message, cause, enableSuppression, writableStackTrace);
        }
        public AudioFileLoadException() {
            super();
        }
    }
}
